package cn.kgc.airvue.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Airqualityindex {
    private Integer id;

    private Integer districtid;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date monitortime;

    private Integer pm10;

    private Integer pm23;

    private String monitoringstation;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date lastmodifytime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDistrictid() {
        return districtid;
    }

    public void setDistrictid(Integer districtid) {
        this.districtid = districtid;
    }

    public Date getMonitortime() {
        return monitortime;
    }

    public void setMonitortime(Date monitortime) {
        this.monitortime = monitortime;
    }

    public Integer getPm10() {
        return pm10;
    }

    public void setPm10(Integer pm10) {
        this.pm10 = pm10;
    }

    public Integer getPm23() {
        return pm23;
    }

    public void setPm23(Integer pm23) {
        this.pm23 = pm23;
    }

    public String getMonitoringstation() {
        return monitoringstation;
    }

    public void setMonitoringstation(String monitoringstation) {
        this.monitoringstation = monitoringstation == null ? null : monitoringstation.trim();
    }

    public Date getLastmodifytime() {
        return lastmodifytime;
    }

    public void setLastmodifytime(Date lastmodifytime) {
        this.lastmodifytime = lastmodifytime;
    }
}